<style type="text/css">
	ul.rightTools {float:right; display:block;}
	ul.rightTools li{float:left; display:block; margin-left:5px}
</style>
<script>
	var menus = eval(${menus})
	jQuery.each(menus,function(i,n){
		var acc = jQuery("#menu-manage-tree");
		if(n.parentid==1){
			acc.append("<li cid='tree"+n.id+"'><a href='/demo/pagination/list1.html' vid='"+n.id+"' target='ajax' rel='menu-manage-edit'>"+n.title+"</a><ul></ul></li>");
		}else{
			if(n.actionurl){
				acc.find("li[cid='tree"+n.parentid+"'] > ul").append("<li><a href='http://www.baidu.com' vid='"+n.id+"' target='ajax' rel='menu-manage-edit'>"+n.title+"</a></li>");
			}else{
				acc.find("li[cid='tree"+n.parentid+"']>ul").append("<li cid='tree"+n.id+"'><a href='http://www.baidu.com' target='ajax' vid='"+n.id+"' rel='menu-manage-edit'>"+n.title+"</a><ul></ul></li>");
			}
		}
		acc.initUI();
	});
</script>
<div class="pageContent" style="padding:5px">
	<div class="tabs">
		<div class="tabsHeader">
			<div class="tabsHeaderContent">
				<ul>
					<li><a href="javascript:;"><span>点击菜单可修改</span></a></li>
				</ul>
			</div>
		</div>
		<div class="tabsContent">
			<div>
				<div layoutH="100%" style="float:left; display:block; overflow:auto; width:240px; border:solid 1px #CCC; line-height:21px; background:#fff">
				    <ul id="menu-manage-tree" class="tree treeFolder">
						
				    </ul>
				</div>
				
				<div id="menu-manage-edit" class="unitBox" style="margin-left:246px;">
					<!--#include virtual="list1.html" -->
				</div>
			</div>
		</div>
		<div class="tabsFooter">
			<div class="tabsFooterContent"></div>
		</div>
	</div>
</div>
